package org.farm2.service.inter;

import org.farm2.auth.dto.MenusDto;
import org.farm2.base.domain.FarmUserContext;

import java.util.List;

public interface FarmUserServiceInter {
    public FarmUserContext getUserByLoginName(String userKey);

    public List<MenusDto> getUserMenus(FarmUserContext user, String domain);
}
